package pack;

import java.net.*;
import java.io.*;
import java.io.ObjectInputStream.GetField;

public class Client {
    public static void main(String[] args) throws Exception {
    	
//    	NetworkInterface ni = NetworkInterface.getByName("em1");    	    	
    	
        URL server = new URL("http://localhost:8080/5c:e2:86:08:fb:40");        
        URLConnection sc = server.openConnection();
       
        //*
        BufferedReader in = new BufferedReader(new InputStreamReader(sc.getInputStream()));
        String inputLine;

        while ((inputLine = in.readLine()) != null) 
            System.out.println(inputLine);
//        	System.out.println( ni.getHardwareAddress() );
        in.close();
        //*/
    }
}